#include <iostream>

/*定义成char型节省空间*/
enum class Color : char
{
    red,
    blue,
    green
};
enum class thickness
{
    thin,
    fat
};
int main()
{
    // if (Color::red == thickness::thin)
    // {
    //     std::cout << "相等" << std::endl;
    // }
    std::cout << sizeof(Color::red) << std::endl;
    return 0;
}